<template>
    <div id="MyMember-Top-Nav">
        <div id="MyMember-Top-Nav-Content">
            <p>
                <span class="iconfont icon-sdf" @click="Home()"></span>
                盐选会员
            </p>
        </div>
    </div>
</template>

<script>
    export default {
        name: "Member-Top-Nav",
        methods:{
            Home(){
                this.$router.go(-1);
            }
        }
    }
</script>

<style lang="scss" scoped>
    #MyMember-Top-Nav{
        width: 100%;
        position: fixed;
        top: 0;
    }
    #MyMember-Top-Nav-Content{
        padding: 0.18rem 0 0.18rem 0.19rem;
        background-color: #f5cc94;
        display: flex;
        justify-content: flex-start;
        align-items: center;

        p,span{
            font-size: 0.18rem;
            color: #fbfaf9;
        }

        span{
            margin-right: 1.1rem;
        }
    }
</style>